import platform

sharedLibExt = 'so'

if platform.system() == 'Darwin':
	sharedLibExt = 'dylib'

Command('j2ee/webapp/WEB-INF/lib/phnq_stack.jar', '../stack/j2ee/phnq_stack.jar', Copy('$TARGET', '$SOURCE'))
# Command('j2ee/webapp/WEB-INF/lib/phnq_babel.jar', '../babel/java/phnq_babel.jar', Copy('$TARGET', '$SOURCE'))
# Command('j2ee/webapp/WEB-INF/lib/native/libphnq_babel.'+sharedLibExt, '../babel/java/libphnq_babel.'+sharedLibExt, Copy('$TARGET', '$SOURCE'))

SConscript(['j2ee/SConscript'])
